﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace Himp.TaskScheduling
{
    public class ParamConfigDto : EntityDto<long>
    {
        /// <summary>
        /// 参数类别
        /// 类
        /// 对象
        /// 属性
        /// </summary>
        public EnumParamType ParamType { get; set; }

        /// <summary>
        /// 参数编码
        /// </summary>
        public string ParamCodg { get; set; }

        /// <summary>
        /// 参数名称
        /// </summary>
        public string ParamName { get; set; }

        /// <summary>
        /// 属性ID
        /// </summary>
        public string? PropertyKey { get; set; }

        /// <summary>
        /// 属性类别
        /// </summary>
        public int? PropertyType { get; set; }

        /// <summary>
        /// 参数值
        /// </summary>
        public string? ParamValue { get; set; }

        /// <summary>
        /// 默认值
        /// </summary>
        public string? DefValue { get; set; }

        /// <summary>
        /// 有效标识
        /// </summary>
        public bool ValiFlag { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public long? ParentId { get; set; }

        /// <summary>
        /// Topic 路径
        /// </summary>
        public string? KeyPath { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<ParamConfigDto> Children { get; set; }
    }
}
